import {NgModule} from '@angular/core';
import {CommonModule}  from '@angular/common';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {NgaModule} from '../../theme/nga.module';
import {Admin} from './admin.component';
import {routing} from './admin.routing';
import {NgxMasonryModule} from 'ngx-masonry';
import {RlTagInputModule} from 'angular2-tag-input';
//import {DatepickerModule} from 'ng2-bootstrap/datepicker';
import {ModalModule} from "ngx-modal";
import {CKEditorModule} from 'ng2-ckeditor';
import {TagInputModule} from 'ngx-chips';
import {User} from '../admin/component/user/user.component';
import {AbuseList} from '../admin/component/abuseList/abuseList.component';
import {AddUser} from './component/addUser/addUser.component';
import {Version} from './component/version/version.component';
import { MyDatePickerModule } from 'mydatepicker';
//import {PaginationModule} from 'ng2-bootstrap/ng2-bootstrap';
import {UserProfileModule} from '../shared/profile/profile.module';
import {viewCardIdeaDetailModule} from '../shared/ideas/component/viewCardIdeaDetail/viewCardIdeaDetail.module';
import {AbuseModule} from '../shared/abuse/abuse.module';
import {Ng2SmartTableModule} from 'ng2-smart-table';
import {UserLog} from './component/userLog/userLog.component';
import {TrafficChart} from './component/trafficChart/trafficChart.component';
import {Activity} from './component/activities/activities.component';
//import {NgxPaginationModule, PaginatePipe} from 'ngx-pagination';
import {PaginationModule} from 'ng2-bootstrap/pagination';

@NgModule({
  imports: [
    CommonModule,
    ReactiveFormsModule, FormsModule, NgaModule,
    NgxMasonryModule, RlTagInputModule, ModalModule,
    MyDatePickerModule, CKEditorModule,
    TagInputModule,  UserProfileModule, viewCardIdeaDetailModule, AbuseModule,
    routing, Ng2SmartTableModule,
    PaginationModule.forRoot(),
  ],
  declarations: [
    Admin,
    User,
    AbuseList,
    AddUser,
    Version,
    UserLog,
    Activity,
    TrafficChart
  ]
})

export class AdminModule {
}
